StaticText.DataSource

The DataControl that references a table in a database whose fields are displayed (TableName as String). If assigned in code, you use the Name property of a DataControl.

Syntax

DataSource( DataControl ) as


Parameters

DataControl


Notes

Use the DataField property to link a field to be displayed to a StaticText. In the IDE, a popup menu of field names will appear. Database fields can also be displayed using EditFields, PopupMenus and ListBoxes.